﻿body
{
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
}

header, footer, nav, section
{
    display: block;
}

header, footer
{
    background-color: #444;
    border-bottom: 2px solid #111;
    color: white;
}

header div.title
{
    font-size: 2em;
    padding: .6em;
}

article#content
{
    border-left: 2px solid gray;
    margin-left: 9em;
    padding: 1em;
}

nav#categories
{
    float: left;
    width: 8em;
    padding: .3em;
}

div.item
{
    border-top: 1px dotted gray;
    padding-top: .7em;
    margin-bottom: .7em;
}

    div.item:first-child
    {
        border-top: none; 
        padding-top: 0;
    }

    div.item h3
    {
        font-size: 1.3em;
        margin: 0 0 .25em, 0;
    }

    div.item h4
    {
        font-size: 1.1em;
        margin: .4em 0 0 0;
    }

div.pager
{
    text-align: right;
    border-top: 2px solid silver;
    padding: .5em 0 0 0;
    margin-top: 1em;
}

    div.pager a
    {
        font-size: 1.1em;
        color: #666;
        text-decoration: none;
        padding: 0 .4em 0 .4em;
    }

    div.pager a:hover
    {
        background-color: silver;
    }

        div.pager a.selected
        {
            background-color: #353535;
            color: white;
        }

footer div#license 
{
    padding: .6em;
    text-align: center;
}

    footer div#license a:visited
    { 
        color: mediumpurple;
    }

form
{
    margin: 0;
    padding: 0;
}

div.item form
{
    float: right;
}

div.item input
{
    color: white;
    background-color: #333;
    border: 1px solid black;
    cursor: pointer;
    padding: 7px;
}

/* Styles for Cart Summary 
-----------------------------------------------------------*/
#cart
{
    float: right;
    margin: .8em;
    padding: 1em 1em 1em 1em;
    background-color: gray;
}
    #cart a
    {
        background-color: #333;
        text-decoration: none;
        color: white;
        padding: .4em 1em .4em 1em;
        border: 1px solid black;
        margin-left: .7em;
    }

/* Styles for Cart Index
-----------------------------------------------------------*/
h2
{
    margin-top: 0.3em;    
}

tfoot td
{
    border-top: 1px dotted gray;
    font-weight: bold;
}

.actionButtons A, input.actionButtons
{
    font-size: .8em;
    color: white;
    margin: .5em;
    text-decoration: none;
    padding: 7px 1em 7px 1em;
    background-color: #353535;
    border: 1px solid black;
}

/* Styles for Navigation Menu 
-----------------------------------------------------------*/
nav#categories a
{
    display: block;
    font: bold 1.1em;
    text-decoration: none;
    padding: .6em;
    color: black;
    border-bottom: 1px solid silver;
}

    nav#categories a.selected
    {
        background-color: #666;
        color: white;
    }

    nav#categories a:hover
    {
        background-color: #CCC;
    }

    nav#categories a.selected:hover
    {
        background-color: #666;
    }


/* Styles for basic forms
-----------------------------------------------------------*/
fieldset
{
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend
{
    font-size: 1.2em;
    font-weight: bold;
}

textarea
{
    min-height: 75px;
}

.editor-label
{
    margin: 1em 0 0 0;
}

.editor-field
{
    margin: 0.5em 0 0 0;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #f00;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #f00;
    background-color: #fee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #f00;
}

.validation-summary-valid
{
    display: none;
}
